﻿using System;

namespace FileDuplicateRemover.Core
{
    public abstract class BaseEntity : IEquatable<BaseEntity>
    {
        //public string ShortName { get; set; }
        public virtual string FullName { get; set; }
        public virtual long TotalLength { get; set; }

        public virtual DateTime Created { get; set; }

        protected BaseEntity(string fullName)
        {
            this.FullName = fullName;
        }

        public override string ToString()
        {
            return FullName;
        }

        public abstract bool Equals(BaseEntity other);
    }
}
